package com.santu.edu.supporter.biz.category.dao.mapper;

import com.santu.edu.supporter.biz.category.pojo.dto.GoodCategoryDTO;
import com.santu.edu.supporter.biz.category.pojo.po.GoodCategoryPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author npc234
 * @description 针对表【day_day_up_good_category】的数据库操作Mapper
 * @createDate 2024-03-12 20:07:22
 * @Entity com.santu.edu.supporter.biz.category.pojo.po.GoodCategory
 */
@Mapper
public interface GoodCategoryMapper {

    /**
     * 插入一条记录
     * @param item
     */
    void insertOne(@Param("item") GoodCategoryPO item);

    /**
     * 更新一条记录
     * @param item
     */
    void updateOne(@Param("item") GoodCategoryPO item);

    /**
     * 删除一条记录
     * @param categoryId
     */
    void removeOne(@Param("categoryId") String categoryId);

    /**
     * 查询所有记录
     * @return
     */
    List<GoodCategoryDTO> selectGoodCategoryMapper();

}




